﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="danweitxl.aspx.cs" Inherits="qs_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>单位通讯录</title>
    <link href="../css/textarea.css" rel="stylesheet" type="text/css"　/>
<style type="text/css">
<!--
.style1 {
	color: #FFFFFF;
	font-weight: bold;
}
body {
	margin-top: 0px;
}
}
-->
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="width: 754px; height: 38px" >
            &nbsp;<table bgcolor="#5aae18" border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td width="6" style="height: 21px">
                        <img height="21" src="../../img/bbs/leftlin1.gif" width="6" /></td>
                    <td bgcolor="#5aae18" width="936" style="height: 21px">
                        <div align="center">
                            <span class="style4"><span class="style1">通 讯 录 系 统</span></span></div>
                    </td>
                    <td width="6" style="height: 21px">
                        &nbsp;</td>
                </tr>
            </table>
            &nbsp;
            <asp:DropDownList ID="ddl_bumen1" runat="server" DataSourceID="SqlDataSource1" DataTextField="dept_department"
                DataValueField="dept_department">
            </asp:DropDownList>
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="查询" />
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:qs_OA_DBConnectionString2 %>"
                SelectCommand="SELECT [dept_department], [dept_id] FROM [department]"></asp:SqlDataSource>
           
         
        </div>
    
    </div>
        <div style="width: 752px; height: 260px" >
        
        
        
            <asp:GridView ID="gdvSelectAll" runat="server" Width="752px"   AutoGenerateColumns="False" OnRowDataBound="gdvSelectAll_RowDataBound" BorderColor="PaleGreen" Font-Size="Larger" >
                <Columns>
                    <asp:BoundField DataField="al_id" HeaderText="编号" />
                    <asp:HyperLinkField DataNavigateUrlFields="u_username" DataNavigateUrlFormatString="bangongtongxuluxiugai.aspx?u_username={0}"
                        DataTextField="u_username" HeaderText="姓名" />
                    <asp:BoundField DataField="dept_department" HeaderText="部门" />
                    <asp:BoundField DataField="al_duty" HeaderText="职务" />
                    <asp:BoundField DataField="al_mobile" HeaderText="手机" />
                    <asp:BoundField DataField="al_smallclever" HeaderText="小灵通" />
                    <asp:BoundField DataField="al_worktelephone" HeaderText="办公室电话" />
                    <asp:BoundField DataField="al_address" HeaderText="地址" />
                </Columns>
            </asp:GridView>
            &nbsp;&nbsp;
            <a href="tijiaobangongtongxunlu.aspx">添加通讯录</a>
           
       <br/>
       
  <br/>
  
  
 
   </div>
            
    </form>
</body>
</html>
